.nav-item {
    float: left;
    padding: 0.2rem;
    display: inline-block;
}

.selected{
    background-color: #CFD8DC !important;
    color: white;
}

.menus a {
    text-decoration: none;
    cursor: pointer;
    left: 0;
    background-color: #EEE;
    margin: .5em;
    padding: .5em 1em;
    height: 1.6em;
    border-radius: 4px;
}

.menus a:visited, a:link {
    color: #607D8B;
}

.menus a:hover {
    color: #607D8B;
    background-color: #DDD;
    left: .1em;
}
.menus a.selected {
    background-color: #BBD8DC !important;
    color: white;
}
.menus .text {
    top: -3px;
}
.menus .badge {
    font-size: small;
    color: white;
    padding: 0.8em 0.7em 0 0.7em;
    background-color: #607D8B;
    line-height: 1em;
    left: -1px;
    top: -4px;
    height: 1.8em;
    margin-right: .8em;
    border-radius: 4px 0 0 4px;
}